package com.gufe.service.user.impl.mp;

import com.gufe.entity.MilitaryShow;
import com.gufe.mapper.user.mp.WxMilitaryTrainingMapper;
import com.gufe.service.user.mp.WxMilitaryTrainingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WxMilitaryTrainingServiceImpl implements WxMilitaryTrainingService {

    @Autowired
    WxMilitaryTrainingMapper wxMilitaryTrainingMapper;

    //获取全部军事训练内容
    @Override
    public List<MilitaryShow> getMilitraining() {
        List<MilitaryShow> militaryShows = wxMilitaryTrainingMapper.selectList(null);
        return militaryShows;
    }
}
